package cn.dao;

import cn.domain.Log;
import cn.domain.LogExample;
import cn.entity.LogJsp;
import cn.util.Pagination;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface LogMapper {
    int countByExample(LogExample example);

    int deleteByExample(LogExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Log record);

    int insertSelective(Log record);

    List<Log> selectByExample(LogExample example);

    Log selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Log record, @Param("example") LogExample example);

    int updateByExample(@Param("record") Log record, @Param("example") LogExample example);

    int updateByPrimaryKeySelective(Log record);

    int updateByPrimaryKey(Log record);

	List<Log> getAlllist(Pagination pagination);

	int getAllCount(Log log);

	List<LogJsp> getAllByApiid(Integer id);
}